import request from './index'
export function getBanners() {
    return request.get('banner',{type:1}
    )
}
export function getRanking(idx) {
    return request.get('top/list',{idx})
}

export function getSongMenu(cat='全部',limit=6,offset=0) {
    return request.get('top/playlist',{cat,limit,offset})
}

export function getSongDetail(id) {
    return request.get('playlist/detail/dynamic',{id})
}